package com.IC.domain.po;

import com.IC.domain.deserializer.OutlineDeserializer;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "plot")
public class PlotPO {

    @TableId(value = "id", type = IdType.AUTO)
    //主键id
    private Long id;
    //小区名称
    private String name;
    //小区地址
    private String address;
    //小区图片
    private String pic;
    //小区编号
    private Integer num;
    //辖区id
    private Integer divisionId;
    //小区轮廓

    private List outline;
    //小区中心点经度
    private Double longitude;
    //小区中心点纬度
    private Double latitude;
    //入口
    private String entrance;
    //出口
    private String exit;

}
